* {
    outline: none;
    color: #666666;
    margin: 0;
    padding: 0;
    /*line-height: 0;*/
}

html, body {
    width: 100%;
    height: 100%;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    font-size: 12px;
    font-family: Arial, sans-serif;
    color: #787878;
    text-align: center;
    height: 100%;
    line-height: 0;
}

.wrapper .product {
    line-height: 1em;
}

.wrapper .products {
    text-align: left;
    height: 100%;
    padding-bottom: 5em;
    width: 70%;
    position: relative;
}

.products {
    display: inline-block;
}

.products .source {
    width: 310px;
    /*min-height: 400px;*/
    /*margin: 0 19px 0 0;*/
    padding: 18px;
    float: left;
    border: 1px solid #dddddd;
    background: #fff;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    /*height: 400px;*/
    height: 100%;
    overflow-y: scroll;
}

.products .destination {
    width: 100%;
    /*width: 300px;*/
    /*min-height: 400px;*/
    height: 100%;
    margin: 0;
    /*padding: 18px;*/
    float: left;
    border: 1px solid #dddddd;
    /*background: #fff;*/
    -webkit-border-radius: 8px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    min-width: 40px;
    background-size: 30%;
}

.products .destination_wrapper {
    position: relative;
    width: 100%;
    padding-left: 327px;
    height: 100%;
}

.products .source_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 330px;*/
    /*width: 315px;*/
    width: 100%;
    height: 100%;
}

/*
div.products div.products {
    width: 254px;
    height: 64px;
    margin: 0 0 14px 0;
    padding: 8px;
    display: block;
    float: left;
    background: #fff;
    border: 1px solid #dddddd;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 1px 2px 10px -3px #CACACA;
    box-shadow: 1px 2px 10px -3px #CACACA;
}
*/

.product {
    width: 254px;
    /*height: 64px;*/
    height: 80px;
    margin: 0 0 14px 0;
    padding: 8px;
    display: block;
    float: left;
    background: #fff;
    border: 1px solid #dddddd;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 1px 2px 10px -3px #CACACA;
    box-shadow: 1px 2px 10px -3px #CACACA;
}

.product .product_image {
    width: 69px;
    height: 64px;
    background-repeat: no-repeat;
    background-position: center;
    float: left;
    margin-right: 7px;
}

.source {
    /*cursor: pointer;*/
    border: 1px solid #eee;
    width: 100%;
    /*min-height: 20em;*/
    list-style-type: none;
    margin: 0;
    padding: 5px 0 0 0;
    float: left;
    margin-right: 10px;
    overflow: hidden;
}

.source li {
    margin: 0 14px 14px 0;
    font-size: 1.2em;
    padding: .5em;
    overflow: hidden;
    position: relative;
}

.product_price {
    float: left;
    color: #d80014;
    font-family: 'TimesBold';
    font-weight: 700;
    font-size: 1.8em;
}

.item-info {
    height: 68px;
    overflow: hidden;
    display: table;
}

.item-info .product_name {
    display: table-row;
}

.item-info .product_price_block td {
    /*display: table-cell;*/
    vertical-align: bottom;
    /*display: inline-block;*/
}

.product_price {
    line-height: 1em;
}

/*.ruble_sign {
    padding: 12px 5px 0 3px;
    height: 13px;
    width: 10px;
}*/
.ruble_sign {
    height: 14px;
    width: 11px;
    margin: 0 5px 3px;
}

.in-bouquet {
    width: 43px;
    height: 27px;
    padding: 0;
    display: block;
    background: url('../images/in-bouquet_stroke.png') 0 0 no-repeat;
    position: absolute;
    right: 8px;
    bottom: 10px;
    cursor: pointer;
}

/*.product_amount {
    width: 15px;
    height: 10px;
    color: gray;
}

.product_amount {
    width: 44px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: 1px solid #dedede;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}*/

.product_amount {
    width: 42px;
    height: 26px;
    margin: 0;
    padding: 0 0 0 5px;
    display: block;
    float: left;
    border: none;
    outline: none;
    background: url('../images/count-product.png') repeat-x;
    color: #888888;
}

.products .ui-spinner-button.ui-spinner-up {
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    display: block;
    float: right;
    background: url('../images/count-up.png') top right no-repeat;
}

.products .ui-spinner-button.ui-spinner-down {
    width: 14px;
    height: 12px;
    margin: 0;
    padding: 0;
    display: block;
    float: right;
    background: url('../images/count-down.png') top right no-repeat;
}

.ui-widget.ui-widget-content {
    border-color: #ddd;
}

.ui-spinner.ui-corner-all {
    border-radius: 5px;
}

.ui-spinner.ui-corner-all a {
    border: none;
}

.destination img {
    position: absolute;
}

.ui-icon {
    height: 0;
    width: 12px;
    cursor: pointer;
}

.product_info {
    text-align: center;
    /*padding-top: 1em;*/
    font-size: 2em;
    /*position: absolute;*/
    position: static;
    bottom: .6em;
    padding-left: 3%;
    float: left;
    padding-top: .5em;
    text-align: left;
}

.product_info button {
    color: #111;
    padding-left: 2em;
    padding-right: 2em;
    font-weight: bold;
}

.product_info button:hover {
    color: black;
}

.product_info .price_wrapper {
    line-height: 1.5em;
    float: left;
    margin-right: .5em;
}

.contact_popup {
    display: none;
    background-color: #fff;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 25px 5px #999;
    color: #111;
    max-width: 450px;
    width: 100%;
    padding: 25px;
}

.contact_popup label {
    color: #111;
}

.contact_popup input {
    font-size: 0.9em;
}

.contact_popup button {
    width: 100%;
    font-weight: bold;
}

.contact_popup span.b-close span {
    border-radius: 7px 7px 7px 7px;
    box-shadow: none;
    font: bold 131% sans-serif;
    padding: 0 6px 2px;
    position: absolute;
    right: -7px;
    top: -7px;
    background-color: #2b91af;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.contact_popup span.b-close:hover span {
    background-color: #1e1e1e;
}

#succes_popup {
    text-align: center;
}

#succes_popup button {
    margin-top: 1em;
}

/*@media (max-width: 767px) {

}*/

.products {
    display: none;
}
